package com.uvt.agenda.commands;

import com.uvt.agenda.Event;
import com.uvt.agenda.EventsProvider;

/**
 * Created by oana on 02/02/14.
 * 16:26
 */
public class DeleteEventCommand implements Command{
    private Event event;

    public DeleteEventCommand(Event event) {
        this.event = event;
    }


    @Override
    public void execute() {
        EventsProvider.getInstance().deleteEvent(event);
    }
}
